package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataContractpayDetailDao;
import io.renren.entity.DataContractpayDetailEntity;
import io.renren.service.DataContractpayDetailService;



@Service("dataContractpayDetailService")
public class DataContractpayDetailServiceImpl implements DataContractpayDetailService {
	@Autowired
	private DataContractpayDetailDao dataContractpayDetailDao;
	
	@Override
	public DataContractpayDetailEntity queryObject(String id){
		return dataContractpayDetailDao.queryObject(id);
	}
	
	@Override
	public List<DataContractpayDetailEntity> queryList(Map<String, Object> map){
		return dataContractpayDetailDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataContractpayDetailDao.queryTotal(map);
	}
	
	@Override
	public void save(DataContractpayDetailEntity dataContractpayDetail){
		dataContractpayDetailDao.save(dataContractpayDetail);
	}
	
	@Override
	public void update(DataContractpayDetailEntity dataContractpayDetail){
		dataContractpayDetailDao.update(dataContractpayDetail);
	}
	
	@Override
	public void delete(String id){
		dataContractpayDetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataContractpayDetailDao.deleteBatch(ids);
	}
	
}
